Smush\Core\Webp\Webp_Server_Configuration S

Total Complexity 47
Dependencies 7
Dependents 1
Total lines 284
Lines of code 198
Logical lines of code 97
Comment lines 27
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
recheck_server_configuration_status()
A
43 9 50
apply_apache_rewrite_rules()
S
54 5 22
prepare_test_webp_file()
S
53 4 24
prepare_test_png_file()
S
60 3 13
check_server_config()
S
60 2 13
webp_directory_created()
S
75 2 4
add_lock_file()
S
71 2 6
get_configuration_message()
S
74 2 4
get_configuration_error_code()
S
74 2 4
get_configuration_status()
S
72 2 6
get_server_type()
S
81 1 3
get_apache_code()
S
81 1 3
get_nginx_code()
S
81 1 3
get_lock_file_path()
S
75 1 4
remove_lock_file()
S
76 1 4
__construct()
S
68 1 7
get_test_webp_file_path()
S
75 1 4
get_test_png_file_url()
S
75 1 4
get_test_png_file_path()
S
75 1 4
enable()
S
82 1 3
reset_configuration_status()
S
81 1 3
is_configured()
S
75 1 4
disable()
S
82 1 3
logger()
S
81 1 3